<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_表格</title>
</head>
<body>
<table border="1" style="border-collapse: collapse;">
<tr>
    <td style="text-align: center">1</td>
    <td>2</td>
    <th>3</th>
    <th>4</th>
    </tr>
    <tr>
    <td style="text-align: center">伟超</td>
    <td>6</td>
    <th>
        7
    </th>
</tr>
</table>
<br>
<hr>
<br>
<table border="1" style="border-collapse: collapse;">
    <caption>购物车</caption><!--表格的表头-->
    <tr>
        <td style="text-align: center">商品号</td>
        <td style="text-align: center">商品名称</td>
        <td style="text-align: center">价格</td>
    </tr>
    <tr>
        <td style="text-align: center">1</td>
        <td style="text-align: center">荣耀X60</td>
        <td style="text-align: center">2601</td>
    </tr>
    <tr>
        <td style="text-align: center">2</td>
        <td style="text-align: center">三折叠 怎么折都有面</td>
        <td style="text-align: center">27399</td>
    </tr>
    <tr>
        <td style="text-align: center">总价</td>
        <td style="text-align: center" colspan="2">28399</td>
    </tr>
</table>
</body>
</html>